import request from '@/utils/request'

export function orderItemList(params) {
  return request({
    url: '/order/order-item/list',
    method: 'post',
    params
  })
}

export function listOrderItemByOrderId(orderId) {
  return request({
    url: '/order/order-item/listByOrderId/' + orderId,
    method: 'GET'
  })
}
